package z.sample.servicecommons.dto;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "Office")
@XmlAccessorType(value = XmlAccessType.FIELD)
public class OfficeDTO {
	@XmlElement(name = "Id")
	private Long id;
	
	@XmlElement(name = "City")
	private String city;
	
	@XmlElement(name = "PhoneNumber")
	private String phone;
	
	@XmlElement(name = "AddressLine1")
	private String address1;
	
	@XmlElement(name = "AddressLine2")
	private String address2;
	
	@XmlElement(name = "State")
	private String state;
	
	@XmlElement(name = "Country")
	private String country;
	
	@XmlElement(name = "PostalCode")
	private String postalCode;
	
	@XmlElement(name = "Territory")
	private String territory;

	public Long getId() {
		return id;
	}

	public String getCity() {
		return city;
	}

	public String getPhone() {
		return phone;
	}

	public String getAddress1() {
		return address1;
	}

	public String getAddress2() {
		return address2;
	}

	public String getState() {
		return state;
	}

	public String getCountry() {
		return country;
	}

	public String getPostalCode() {
		return postalCode;
	}

	public String getTerritory() {
		return territory;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public void setAddress1(String address1) {
		this.address1 = address1;
	}

	public void setAddress2(String address2) {
		this.address2 = address2;
	}

	public void setState(String state) {
		this.state = state;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public void setPostalCode(String postalCode) {
		this.postalCode = postalCode;
	}

	public void setTerritory(String territory) {
		this.territory = territory;
	}
}
